package com.etrans.web.gps.business.report.domain;

import java.util.Date;

/**
 * 历史图片实体类
 * 从MongoDB中取出数据时匹配的类
 * @author Lq
 *
 */
public class HistoryImgVO {

	private String _id;//历史图片表id（车牌号+颜色+日期）
    private Integer platform_id;//平台id
    private Integer gnsscenter_id;
    private Integer vehicle_id;//车牌ID
    private String vehicle_no;//车牌名称
    private Integer vehicle_color;
    private Date gps_time;//日期
    private Date rcv_time;
    private Integer gps_speed;
    private Integer pulse_speed;
    private Integer mileage;
    private Integer direction;
    private Integer altitude;
    private Integer state;
    private Integer alarm;
    private Integer lens_id;
    private Integer size_type;
    private Integer img_type;
    private LngLat coordinates;
    private String imgUrl;//图片路径
	private double gdLng;
	private double gdLat;
	private String gpsTimeStr;
	private boolean status;
	private int media_format;
	private int event_code;


    public int getMedia_format() {
        return media_format;
    }

    public void setMedia_format(int media_format) {
        this.media_format = media_format;
    }

    public int getEvent_code() {
        return event_code;
    }

    public void setEvent_code(int event_code) {
        this.event_code = event_code;
    }

    public double getGdLng() {
		return gdLng;
	}
	public void setGdLng(double gdLng) {
		this.gdLng = gdLng;
	}
	public double getGdLat() {
		return gdLat;
	}
	public void setGdLat(double gdLat) {
		this.gdLat = gdLat;
	}
	public String getGpsTimeStr() {
		return gpsTimeStr;
	}
	public void setGpsTimeStr(String gpsTimeStr) {
		this.gpsTimeStr = gpsTimeStr;
	}
    
    
	public boolean isStatus() {
		return status;
	}
	public void setStatus(boolean status) {
		this.status = status;
	}
	public LngLat getCoordinates() {
		return coordinates;
	}
	public void setCoordinates(LngLat coordinates) {
		this.coordinates = coordinates;
	}
    
    
	public String getImgUrl() {
		return imgUrl;
	}
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}
	public String get_id() {
		return _id;
	}
	public void set_id(String _id) {
		this._id = _id;
	}
	public Integer getPlatform_id() {
		return platform_id;
	}
	public void setPlatform_id(Integer platform_id) {
		this.platform_id = platform_id;
	}
	public Integer getGnsscenter_id() {
		return gnsscenter_id;
	}
	public void setGnsscenter_id(Integer gnsscenter_id) {
		this.gnsscenter_id = gnsscenter_id;
	}
	public Integer getVehicle_id() {
		return vehicle_id;
	}
	public void setVehicle_id(Integer vehicle_id) {
		this.vehicle_id = vehicle_id;
	}
	
	public String getVehicle_no() {
		return vehicle_no;
	}
	public void setVehicle_no(String vehicle_no) {
		this.vehicle_no = vehicle_no;
	}
	public Integer getVehicle_color() {
		return vehicle_color;
	}
	public void setVehicle_color(Integer vehicle_color) {
		this.vehicle_color = vehicle_color;
	}
	public Date getGps_time() {
		return gps_time;
	}
	public void setGps_time(Date gps_time) {
		this.gps_time = gps_time;
	}
	public Date getRcv_time() {
		return rcv_time;
	}
	public void setRcv_time(Date rcv_time) {
		this.rcv_time = rcv_time;
	}
	public Integer getGps_speed() {
		return gps_speed;
	}
	public void setGps_speed(Integer gps_speed) {
		this.gps_speed = gps_speed;
	}
	public Integer getPulse_speed() {
		return pulse_speed;
	}
	public void setPulse_speed(Integer pulse_speed) {
		this.pulse_speed = pulse_speed;
	}
	public Integer getMileage() {
		return mileage;
	}
	public void setMileage(Integer mileage) {
		this.mileage = mileage;
	}
	public Integer getDirection() {
		return direction;
	}
	public void setDirection(Integer direction) {
		this.direction = direction;
	}
	public Integer getAltitude() {
		return altitude;
	}
	public void setAltitude(Integer altitude) {
		this.altitude = altitude;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public Integer getAlarm() {
		return alarm;
	}
	public void setAlarm(Integer alarm) {
		this.alarm = alarm;
	}
	public Integer getLens_id() {
		return lens_id;
	}
	public void setLens_id(Integer lens_id) {
		this.lens_id = lens_id;
	}
	public Integer getSize_type() {
		return size_type;
	}
	public void setSize_type(Integer size_type) {
		this.size_type = size_type;
	}
	public Integer getImg_type() {
		return img_type;
	}
	public void setImg_type(Integer img_type) {
		this.img_type = img_type;
	}
	public HistoryImgVO(String _id, Integer platform_id, Integer gnsscenter_id, Integer vehicle_id, String vehicle_no,
			Integer vehicle_color, String coordinates, Date gps_time, Date rcv_time, Integer gps_speed,
			Integer pulse_speed, Integer mileage, Integer direction, Integer altitude, Integer state, Integer alarm,
			Integer lens_id, Integer size_type, Integer img_type) {
		super();
		this._id = _id;
		this.platform_id = platform_id;
		this.gnsscenter_id = gnsscenter_id;
		this.vehicle_id = vehicle_id;
		this.vehicle_no = vehicle_no;
		this.vehicle_color = vehicle_color;
		//this.coordinates = coordinates;
		this.gps_time = gps_time;
		this.rcv_time = rcv_time;
		this.gps_speed = gps_speed;
		this.pulse_speed = pulse_speed;
		this.mileage = mileage;
		this.direction = direction;
		this.altitude = altitude;
		this.state = state;
		this.alarm = alarm;
		this.lens_id = lens_id;
		this.size_type = size_type;
		this.img_type = img_type;
	}
	public HistoryImgVO() {
		super();
	}

    @Override
    public String toString() {
        return "HistoryImgVO{" +
                "_id='" + _id + '\'' +
                ", platform_id=" + platform_id +
                ", gnsscenter_id=" + gnsscenter_id +
                ", vehicle_id=" + vehicle_id +
                ", vehicle_no='" + vehicle_no + '\'' +
                ", vehicle_color=" + vehicle_color +
                ", gps_time=" + gps_time +
                ", rcv_time=" + rcv_time +
                ", gps_speed=" + gps_speed +
                ", pulse_speed=" + pulse_speed +
                ", mileage=" + mileage +
                ", direction=" + direction +
                ", altitude=" + altitude +
                ", state=" + state +
                ", alarm=" + alarm +
                ", lens_id=" + lens_id +
                ", size_type=" + size_type +
                ", img_type=" + img_type +
                ", coordinates=" + coordinates +
                ", imgUrl='" + imgUrl + '\'' +
                ", gdLng=" + gdLng +
                ", gdLat=" + gdLat +
                ", gpsTimeStr='" + gpsTimeStr + '\'' +
                ", status=" + status +
                ", media_format=" + media_format +
                ", event_code=" + event_code +
                '}';
    }
}
